package com.tuoren.forward.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "资源")
public class Permission {
    @Schema(description = "ID")
    private Integer id;

    @Schema(description = "父ID")
    private Integer pid;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "类型 '01'  目录,'02' 菜单 '03' 按钮 ")
    private String type;

    @Schema(description = "路径")
    private String url;

    @Schema(description = "描述")
    private String description;

    @Schema(description = "排序")
    private Integer orders;

    @Schema(description = "资源图标")
    private String icon;
}